<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
	<link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
	<link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
	<script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
	<![endif]-->
	<title></title>
</head>
<body>
<div class="contant">
<div class="row"> <h3 class="page-header">分享设置</h3></div>
<div class="row">
	<div class="panel panel-default">
		<div class="panel-body">
			<form id="myform" class="form-horizontal">
			    <div class="form-group">
			        <label class="col-sm-3 control-label">标题：<span class="c-red">*</span></label>
			        <div class="col-sm-4">
			        	<input class="form-control required" name="share_title" value="{:C('share_title')}">
			        </div>
			    </div>
			    <div class="form-group">
			    	<label class="col-sm-3 control-label">图片：<span class="c-red">*</span></label>
			    	<div class="col-sm-4 imgreq">
			       		<div class="uploadify-div">
					    	<?php if(C('share_pic')){ echo '<li><img src="'.C('share_pic').'"><input type="hidden"  value="'.C('share_pic').'" name="share_pic"></li>'; } ?>
					    </div>
	                   	<button type="button" class='upload' id='upload1' data-name="share_pic">选择图片</button>
                	</div>
			    </div>
			    <div class="form-group">
		            <label class="col-sm-3 control-label">说明：</label>
		            <div class="col-sm-4">
		           		<textarea rows="3" class="form-control" name="share_desc">{:C('share_desc')}</textarea>
		            </div>
		            <small>请不要使用英文状态下的单双引号</small>
		        </div>
		        <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-5">
				        <button class="btn btn-primary" type="submit">保存</button>
				       	<a href="{:U('Index/index')}"><button class="btn btn-default" type="button">返回</button></a>
			       	</div>	
		       	</div>
			</form>
		</div>
	</div>
</div>
</div>
</body>
</html>